Add a GNTTABOP to swap the content of two grant references under lock
authorWei Liu <wei.liu2@citrix.com>
Tue, 24 Jan 2012 14:16:04 +0000 (14:16 +0000)
committerWei Liu <wei.liu2@citrix.com>
Tue, 24 Jan 2012 14:16:04 +0000 (14:16 +0000)
commit04b9829949d79e753c8047f4ef620a82b1743349
treebbf692fac5b4fdf15a367ba68a9aa7b0f9bac4a6
parentf67b958f103337ba173feaf015eae7c43e35a7a8
Add a GNTTABOP to swap the content of two grant references under lock
provided that they are not currently active.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hvm/hvm.c
xen/common/compat/grant_table.c
xen/common/grant_table.c
xen/include/public/grant_table.h
xen/include/xlat.lst